import express from 'express';
import { DashboardController } from '../controllers/dashboardController.js';

const router = express.Router();
const dashboardController = new DashboardController();

// 获取Dashboard统计数据
router.get('/stats', (req, res) => dashboardController.getDashboardStats(req, res));

export default router;

